package org.beans.expense.common.service;

import org.beans.expense.common.domain.DailyExpense;

import java.util.List;

/**
 * @author: arunachalam
 * @since: 2/11/13
 */
public interface IDailyExpenseService
{
    void create(DailyExpense expense);

    DailyExpense findById(long id);

    List<DailyExpense> findAll();

    long countAll();

    void update(DailyExpense expense);

    void delete(DailyExpense expense);

    void deleteAll();
}

